<!--
 * @Author: wuyuxin
 * @Date: 2022-03-24 21:11:54
 * @LastEditors: wuyuxin
 * @LastEditTime: 2022-03-24 21:40:28
 * @Description: 
-->
<template>
  <div>
    <input v-model="message"/>
    <h2>{{message}}</h2>
  </div>
</template>

<script>
  import debounceRef from './hook/useDebounceRef';

  export default {
    setup() {
      const message = debounceRef("Hello World");

      return {
        message
      }
    }
  }
</script>

<style scoped>

</style>